<?php
/**
 * Created by sublime 3.
 * Auth: Inhere
 * Date: 14-
 * Time: 10:35
 * Uesd: 主要功能是 hi
 */
use debug\ErrorHandler;

class Trigger
{
    static public function error($message,$type='app')
    {
        ErrorHandler::$externalCall = true;
        ErrorHandler::showError($message,$type,true);
    }

    static public function notice($message,$type='app')
    {
        ErrorHandler::notice($message,$type);
    }

    static public function event($eventName)
    {
        ErrorHandler::notice($message,$type);
    }

    static public function classEvent($class,$hander)
    {
        ErrorHandler::notice($message,$type);
    }
}
